<?php
/**
 * Local Configuration Override
 *
 * This configuration override file is for overriding environment-specific and
 * security-sensitive configuration information. Copy this file without the
 * .dist extension at the end and populate values as needed.
 *
 * @NOTE: This file is ignored from Git by default with the .gitignore included
 * in ZendSkeletonApplication. This is a good practice, as it prevents sensitive
 * credentials from accidentally being committed into version control.
 */

return array(
    // Whether or not to enable a configuration cache.
    // If enabled, the merged configuration will be cached and used in
    // subsequent requests.
    //'config_cache_enabled' => false,
    // The key used to create the configuration cache file name.
    //'config_cache_key' => 'module_config_cache',
    // The path in which to cache merged configuration.
    //'cache_dir' =>  './data/cache',
    // ...
    
    'doctrine' => array(
    		'connection' => array(
    				'orm_default' => array(
    						'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
    						'params' => array(
    								'host'     => 'localhost',
    								'port'     => '3306',
    								'user'     => 'root',
    								'password' => '',
    								'dbname'   => 'putmarkdb',
    						)
    				),
    				/*'orm_default' => array(
    						'driverClass' => 'Doctrine\DBAL\Driver\PDOPgSql\Driver',
    						'params' => array(
    								'host'     => 'localhost',
    								'port'     => '5433',
    								'user'     => 'postgres',
    								'password' => 'tochange',
    								'dbname'   => 'passenger',
    						)
    				),
    				'orm_social' => array(
    						'driverClass' => 'Doctrine\DBAL\Driver\PDOPgSql\Driver',
    						'params' => array(
    								'host'     => 'localhost',
    								'port'     => '5433',
    								'user'     => 'postgres',
    								'password' => 'tochange',
    								'dbname'   => 'passenger',
    						)
    				)*/
    		)
    ),
    'session' => array(
    		'config' => array(
    				'class' => 'Zend\Session\Config\SessionConfig',
    				'options' => array(
    						'name' => 'myapp',
    				),
    		),
    		'storage' => 'Zend\Session\Storage\SessionArrayStorage',
    		'validators' => array(
    				'Zend\Session\Validator\RemoteAddr',
    				'Zend\Session\Validator\HttpUserAgent',
    		),
    ),
    
);
